import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class CompanyFinancialYearEntity with JsonConvert<CompanyFinancialYearEntity> {
  int id;
  @JSONField(name: "company_id")
  int companyId;
  @JSONField(name: "start_date")
  String startDate;
  @JSONField(name: "end_date")
  String endDate;
  int status;
  @JSONField(name: "created_at")
  String createdAt;
  @JSONField(name: "updated_at")
  String updatedAt;
  @JSONField(name: "is_close")
  int isClose;
  @JSONField(name: "current_year_earning_journal_id")
  int currentYearEarningJournalId;
  @JSONField(name: "less_dividend_journal_id")
  int lessDividendJournalId;
  @JSONField(name: "is_current_year")
  bool isCurrentYear;
}
